import ajax from '@/api/apiConfig.js'

/* 获取隐患治理列表 */
export const getHiddenDangerList = (data) => {
  return ajax.get('hiddenDanger/getHiddenDangerList', data)
}
/* 隐患管理总览 */
export const getHiddenManagerStatistics = (data) => {
  return ajax.get('hiddenDanger/getHiddenManagerStatistics', data)
}
/* 获取隐患详情 */
export const getHiddenDanger = (data) => {
  return ajax.get('hiddenDanger/getHiddenDanger', data)
}
/* 删除隐患 */
export const delHiddenDangerById = (data) => {
  return ajax.get('hiddenDanger/delHiddenDangerById', data)
}
